package com.mrd.frame.domain;

/**
 * ACCESS_CONFIG
 * @author dusy  2017-06-16
 * 接入配置表
 */
public class AccessConfig {
    /**
     * id
     */
    private String accessConfigId;

    /**
     * 商户在平台的帐号
     */
    private String userKey;

    /**
     * 支付渠道 1微信；2支付宝；待续
     */
    private String payChannel;

    /**
     * 支付宝给开发者的id或微信公众账号id
     */
    private String appId;

    /**
     * 微信支付分配的商户号(支付宝不需要)
     */
    private String mchId;

    /**
     * 商户服务器指定的回调地址（支付宝非必须）
     */
    private String notifyUrl;

    /**
     * 私有密钥(微信支付密钥)
     */
    private String privateKey;

    /**
     * 公有密钥
     */
    private String publicKey;

    /**
     * 签名
     */
    private String alipayPublicKey;

    /**
     * 签名类型
     */
    private String signType;

    /**
     * 微信商户平台发放给商家的证书的存放地址
     */
    private String certificatePath;

    public String getAccessConfigId() {
        return accessConfigId;
    }

    public void setAccessConfigId(String accessConfigId) {
        this.accessConfigId = accessConfigId == null ? null : accessConfigId.trim();
    }

    public String getUserKey() {
        return userKey;
    }

    public void setUserKey(String userKey) {
        this.userKey = userKey == null ? null : userKey.trim();
    }

    public String getPayChannel() {
        return payChannel;
    }

    public void setPayChannel(String payChannel) {
        this.payChannel = payChannel == null ? null : payChannel.trim();
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId == null ? null : appId.trim();
    }

    public String getMchId() {
        return mchId;
    }

    public void setMchId(String mchId) {
        this.mchId = mchId == null ? null : mchId.trim();
    }

    public String getNotifyUrl() {
        return notifyUrl;
    }

    public void setNotifyUrl(String notifyUrl) {
        this.notifyUrl = notifyUrl == null ? null : notifyUrl.trim();
    }

    public String getPrivateKey() {
        return privateKey;
    }

    public void setPrivateKey(String privateKey) {
        this.privateKey = privateKey == null ? null : privateKey.trim();
    }

    public String getPublicKey() {
        return publicKey;
    }

    public void setPublicKey(String publicKey) {
        this.publicKey = publicKey == null ? null : publicKey.trim();
    }

    public String getAlipayPublicKey() {
        return alipayPublicKey;
    }

    public void setAlipayPublicKey(String alipayPublicKey) {
        this.alipayPublicKey = alipayPublicKey == null ? null : alipayPublicKey.trim();
    }

    public String getSignType() {
        return signType;
    }

    public void setSignType(String signType) {
        this.signType = signType == null ? null : signType.trim();
    }

    public String getCertificatePath() {
        return certificatePath;
    }

    public void setCertificatePath(String certificatePath) {
        this.certificatePath = certificatePath == null ? null : certificatePath.trim();
    }
}